
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">#{[$result.id]}({[$result.oper_t]})</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">车辆：</td>
		<td colspan="3"><input type="text" name="car" id="car" size="16" value="{[$result.car]}:{[$result.car_t]}"></td>
	</tr>
	<tr>
		<td align="right">司机：</td>
		<td colspan="3"><input type="text" name="driver" id="driver" size="16" value="{[$result.driver]}:{[$result.driver_t]}"></td>
	</tr>
	<tr>
		<td align="right">路线：</td>
		<td colspan="3"><textarea rows="2" name="address" id="address" cols="55">{[$result.address]}</textarea> <select name='address_t'
			id='address_t'>
			{[html_options options=$address_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">开始时间：</td>
		<td colspan="3"><input type="text" name="date1" id="date1" size="12" value="{[$result.t1|date_format:'%Y-%m-%d']}"> <input
			type="text" name="time1" id="time1" size="8" value="{[$result.t1|date_format:'%H:%M']}"></td>
	</tr>
	<tr>
		<td align="right">结束时间：</td>
		<td colspan="3"><input type="text" name="date2" id="date2" size="12" value="{[$result.t2|date_format:'%Y-%m-%d']}"> <input
			type="text" name="time2" id="time2" size="8" value="{[$result.t2|date_format:'%H:%M']}"></td>
	</tr>
	<tr>
		<td align="right">行驶里程：</td>
		<td colspan="3"><input type="text" name="km1" size="10" value="{[$result.km1]}"> 至 <input type="text" name="km2" size="10"
			value="{[$result.km2]}"></td>
	</tr>
	<tr>
		<td align="right">派车人：</td>
		<td colspan="3"><input type="text" name="emp" id="emp" size="16" value="{[$result.emp]}:{[$result.emp_t]}" title="{[$t.emp_|emp:'派车人']}"> <input type="checkbox"
			name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/car/plan/add.js?r={[$smarty.now]}"></script>
